package com.sykj.manage.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.manage.dao.OpinionDao;
import com.sykj.manage.service.BisOpinionService;
import com.sykj.manage.model.BisOpinion;

@Service
public class BisOpinionServiceImpl implements BisOpinionService{
	/**
	 * 调用持久层的接口
	 */
	@Autowired
	OpinionDao bisopiniondao;
	
	
	/**
	 * 实现业务层查询全部方法
	 */
	@Override
	public List<BisOpinion> allBisOpinion(BisOpinion bisOpinion) {
		// TODO Auto-generated method stub
		return bisopiniondao.allBisOpinion(bisOpinion);
	}

	/**
	 * 实现业务层删除的方法
	 */
	@Override
	public int deleteBisOpinion(String opinion_id) {
		// TODO Auto-generated method stub
		return bisopiniondao.deleteBisOpinion(opinion_id);
	}

	@Override
	public BisOpinion seleBisopinion(String opinion_id) {
		// TODO Auto-generated method stub
		return bisopiniondao.seleBisopinion(opinion_id);
	}

}
